﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GenerateAdminPage.Classes.DBStructure
{
    /// <summary>
    /// Represents for each table in DB
    /// </summary>
    public class Table
    {
        /// <summary>
        /// Name of table, this name is same with name of Table in DB server
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// List of attibutes of Table
        /// </summary>
        public List<Attribute> Attributes { get; set; }

        /// <summary>
        /// Initialize a Table instance
        /// </summary>
        public Table()
        {
            Name = string.Empty;
            Attributes = new List<Attribute>();
        }
    }
}
